GtkLabel: Don't manually iterate over link list
authorTimm Bäder <mail@baedert.org>
Sun, 24 Apr 2016 08:32:55 +0000 (10:32 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 26 Apr 2016 00:37:56 +0000 (20:37 -0400)
commitbe5a105f2e8529bb56e193daaceac2aa0a9b8a8f
treeff84819a08306663c2dbb2c87adf2d34f430c1d5
parentf165bbda573fabd21ffa6ab7324810beb34908ea
GtkLabel: Don't manually iterate over link list

There are various functions to access links based on their index for
a11y. We can spare quite a few lines of code by just using
g_list_nth_data instead of iterating over the list ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=765496
gtk/gtklabel.c